package ddd.bo;

import ddd.mapper.UserMapper;
import lombok.Data;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

@Data
@Component
public class UserLoginRequest {


    private String username;

    private String password;


    public boolean login(){
        return "zs".equals(this.username) && "123".equals(this.password);
    }



}
